Display the status of checkbox when checked or unchecked using JavaScript